/*
 * @Author: 李琪 liqi@lark2game.com
 * @Date: 2025-08-08 16:00:30
 * @LastEditors: 李琪 liqi@lark2game.com
 * @LastEditTime: 2025-08-27 12:16:42
 * @FilePath: /oopsWorld/assets/script/game/account/view/DemoViewComp.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { _decorator } from "cc";
import { ecs } from "db://oops-framework/libs/ecs/ECS";
import { CCComp } from "db://oops-framework/module/common/CCComp";
import { ConfigDataMgr } from "../../../config/ConfigDataManager";
import { TemplateMgr, Templates } from "../../manager/TemplateMgr";
import { oops } from "db://oops-framework/core/Oops";
import { UIID } from "../../common/config/GameUIConfig";
const { ccclass, property } = _decorator;

/** 视图层对象 */
@ccclass('DemoViewComp')
@ecs.register('DemoView', false)
export class DemoViewComp extends CCComp {
    start() {
        console.log("DemoViewComp start");
    }
    onbtnperlineNoise() {
        oops.gui.open(UIID.PerlinNoise);
    }

    reset() {
        this.node.destroy();
    }
}
